package com.xilihui.xlh.business.entities;

import com.xilihui.xlh.core.app.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2018/9/5.
 */

public class CommentEntity extends BaseEntity{


    /**
     * comments : [{"comment_id":"154","user_id":"1","add_time":"1457746626","content":"晒单给大家看看.我刚买的.","zan_num":"0","user":{"user_id":"1","nickname":"hello","head_pic":""}},{"comment_id":"88","user_id":"1","add_time":"1457746449","content":"不错,买回来老公很喜欢","zan_num":"0","user":{"user_id":"1","nickname":"hello","head_pic":""}},{"comment_id":"22","user_id":"1","add_time":"1457746403","content":"这东西不错,下次还会来买","zan_num":"0","user":{"user_id":"1","nickname":"hello","head_pic":""}}]
     * pageCount : 1
     */

    private int pageCount;
    private List<CommentsBean> comments;

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public List<CommentsBean> getComments() {
        return comments;
    }

    public void setComments(List<CommentsBean> comments) {
        this.comments = comments;
    }

    public static class CommentsBean {
        /**
         * comment_id : 154
         * user_id : 1
         * add_time : 1457746626
         * content : 晒单给大家看看.我刚买的.
         * zan_num : 0
         * user : {"user_id":"1","nickname":"hello","head_pic":""}
         */

        private String comment_id;
        private String user_id;
        private String add_time;
        private String content;
        private String zan_num;
        private UserBean user;

        public String getComment_id() {
            return comment_id;
        }

        public void setComment_id(String comment_id) {
            this.comment_id = comment_id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getZan_num() {
            return zan_num;
        }

        public void setZan_num(String zan_num) {
            this.zan_num = zan_num;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class UserBean {
            /**
             * user_id : 1
             * nickname : hello
             * head_pic : 
             */

            private String user_id;
            private String nickname;
            private String head_pic;

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getHead_pic() {
                return head_pic;
            }

            public void setHead_pic(String head_pic) {
                this.head_pic = head_pic;
            }
        }
    }
}
